'''
    模块作用：生成N个32位由A-Z0-9组成的激活码
'''

import random
import string

print("欢迎使用此app")

def apppp():
    ss=[]
    N=int(input("请输入您要生成的激活码数量："))
    for i in range(N):
        ss.append(''.join(random.sample(string.ascii_uppercase+string.digits,32)))

    with open("a.txt","w") as fp:
        for i in ss:
            fp.write(f"{i}\n")
